package com.lyon.custom.api.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author LeeYan9
 * @since 2021-11-29
 */
@Data
public class ConfigPublishReqVO implements Serializable {

    private static final long serialVersionUID = -5722853167039905011L;
    @NotBlank(message = "tenantId不能为空")
    private String tenantId;

    @NotBlank(message = "分组不能为空")
    private String group;

    @NotBlank(message = "dataId不能为空")
    private String dataId;

    @NotBlank(message = "内容不能为空")
    private String content;

    @NotBlank(message = "文件类型不能为空")
    private String type;

    private String md5;
}
